package com.gtp.mq.demo.spring.utils;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * 时间转换工具
 */
public class DateUtils {
	public static String nowDate() {
		SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
		return sdf.format(new Date());
	}
}
